package net.melon.logger.manage;

import java.util.Date;

import net.esj.basic.pojo.op.Operator;
import net.esj.basic.utils.Pagination;
import net.melon.logger.pojo.Logger;
import net.melon.logger.pojo.LoggerMethod;

public interface LoggerService {

	void saveMethod(LoggerMethod method);
	
	void updateMethod(LoggerMethod method);
	
	void deleteMethod(String id);
	
	LoggerMethod loadMethod(String id);
	
	Pagination<LoggerMethod> pageMethod(Pagination<LoggerMethod> pagination);
	
	Pagination<Logger> pageLogger(Pagination<Logger> pagination,String operatorName,LoggerMethod method,String keywords,Date startDate,Date endDate);

	Logger saveLogger(Logger logger);

	Pagination<Logger> pageLogger(Pagination<Logger> pagination);
}
